package com.corpdata.system.org.service;

import com.corpdata.system.org.entity.Dept;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;
import com.corpdata.common.result.Result;
import com.corpdata.common.result.DataGrid;

/**
 * 
 * 
 * @author zealon
 * @email zealon@126.com
 * @date 2018-04-24 17:21:04
 */
public interface DeptService {
	
	Dept selectById(String id);
	
	DataGrid<Dept> selectDataGrid(DataGrid dg);
	
	Page<Dept> selectList(Map<String, Object> params);
	
	int selectCount(Map<String, Object> params);
	
	Result insert(Dept dept);
	
	Result update(Dept dept);
	
	Result delete(String id);
	
	Result batchDelete(String[] ids);
}
